package com.onenine.app.model;

/**
 * 充值金额
 */
public class RechargeItem {

    private String rechargeMoney;
    private int diamondNum;
    private String maintainPkId;
    private int recommend;
    private String iconUrl;

    public String getRechargeMoney() {
        return rechargeMoney == null ? "" : rechargeMoney;
    }

    public void setRechargeMoney(String rechargeMoney) {
        this.rechargeMoney = rechargeMoney;
    }

    public int getDiamondNum() {
        return diamondNum;
    }

    public void setDiamondNum(int diamondNum) {
        this.diamondNum = diamondNum;
    }

    public String getMaintainPkId() {
        return maintainPkId == null ? "" : maintainPkId;
    }

    public void setMaintainPkId(String maintainPkId) {
        this.maintainPkId = maintainPkId;
    }

    public boolean isRecommend() {
        return recommend > 0;
    }

    public void setRecommend(int recommend) {
        this.recommend = recommend;
    }

    public String getIconUrl() {
        return iconUrl == null ? "" : iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }
}
